<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>皓之睿后台管理</title>
    <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='favicon.ico') }}">
    <link rel="stylesheet" type="text/css" href="../../static/admin/css/reset.css">
    <link rel="stylesheet" type="text/css" href="../../static/admin/css/mains.css">
    <script type="text/javascript" src="../../static/admin/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="../../static/admin/js/jquery.form.min.js"></script>
    <script src="../../static/admin/tinymce/js/tinymce/tinymce.min.js"></script>
    <script src="../../static/admin/js/tinymce_setup.js"></script>
    <script src="../../static/admin/js/news_edit.js"></script>
</head>
<body class="inframe_body">
<div class="breadcrub">
		当前位置: 新闻管理 > 新闻编辑
	</div>
<form class="release_form">
    <h3>新闻编辑</h3>
    <div class="form-group"><label>新闻标题：</label>
        <input type="text" class="input_txt2" name="title" value="{{ data.news.title }}">
    </div>

    <div class="form-group"><label>链接网址：</label>
        <input type="text" class="input_txt2" name="link" value="{{ data.news.link }}">
    </div>

    <div class="form-group"><label>新闻摘要：</label>
        <textarea class="input_multxt" name="digest">{{ data.news.digest }}</textarea>
    </div>

    <div class="form-group">
        <label>索引图片：</label><img src="{{ data.news.index_image_url }}" alt="索引图片" class="index_pic">
    </div>

    <div class="form-group"><label>上传图片：</label>
        <input type="file" class="input_file" name="index_image">
    </div>
    <input type="hidden" name="news_id" value="{{ data.news.id }}">

    <div class="form-group indent-group line-top">
        <input type="submit" value="确 定" class="confirm">
        <input type="button" value="取 消" class="cancel" onclick="cancel()">
    </div>
    <div class="error_tip2">错误提示</div>
</form>
<script>
    $(function () {
        window.parent.fnSetIframeHeight(900);
    })
</script>
</body>
</html>